package cn.tworice.auth.service;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 身份验证服务接口
 **/
public interface AuthManager {

    /**
     * 当前Request对象
     **/
    boolean auth(HttpServletRequest request, HttpServletResponse response);

    /**
     * 记录当前登录请求
     */
    void record(HttpServletRequest request);

}
